<!-- Main Sidebar Container -->
<div class="main-sidebar sidebar-dark-primary elevation-4">
    <!-- Brand Logo -->
    <a href="#" class="brand-link">
        <img src="../../assets/dist/img/AdminLTELogo.png" alt="e Bidding System" class="brand-image img-circle elevation-3" style="opacity: .8">
        <span class="brand-text font-weight-light">证券交易系统</span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar">
        <!-- Sidebar Menu -->
        <nav class="mt-2">
            <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                <li class="nav-header">功能菜单</li>
                <li class="nav-item">
                    <a routerLink="/dashboard" routerLinkActive="active" class="nav-link">
                        <i class="nav-icon fas fa-th"></i>
                        <p>证券信息（首页）</p>
                    </a>
                </li>
                <!-- "录入售卖信息" 菜单项，仅当用户不是 "买方客户" 时显示 -->
                <li class="nav-item" *ngIf="identity !== '买方客户'">
                    <a routerLink="/sell-info" routerLinkActive="active" class="nav-link">
                        <i class="nav-icon fas fa-file-alt"></i>
                        <p>录入售卖信息</p>
                    </a>
                </li>
                <!-- "竞标估价" 菜单项，仅当用户是 "交易员" 时显示 -->
                <li class="nav-item" *ngIf="identity === '交易员'">
                    <a routerLink="/bid-evaluation" routerLinkActive="active" class="nav-link">
                        <i class="nav-icon fas fa-calculator"></i>
                        <p>竞标估价</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a routerLink="/account-assets" routerLinkActive="active" class="nav-link">
                        <i class="nav-icon fas fa-wallet"></i>
                        <p>账户资产</p>
                    </a>
                </li>
            </ul>
        </nav>
        <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
</div>
